<?php

//Optional
error_reporting(E_ALL | E_STRICT);
ini_set("display_errors", true);
date_default_timezone_set("Europe/London");

//Change this and everything else should work fine
define('APP_NAME', 'NINA Testing Environment');
define('WEBMASTER', 'info@thedaddy.org');
define('APP_ROOT', '/Library/Webserver/Documents/nina/tests');
define('WEB_ROOT', '/Library/Webserver/Documents/nina/tests');
define('URL_ROOT', 'nina');
define('NINA_ROOT', '/Library/Webserver/Documents/nina');
define('NINA_INI', APP_ROOT.'/config/nina.ini');
define('PRETTY_URLS', true);

require_once NINA_ROOT.'/Nina/Autoloader.php';
require_once NINA_ROOT.'/Nina/Autoloader/Nina.php';

$nina_autoloader = new Nina_Autoloader_Nina(NINA_ROOT);
$nina_autoloader->register();

require_once NINA_ROOT.'/Nina/Launcher.php';

$launcher = new Nina_Launcher();
$launcher->loadEnvironment();

require_once APP_ROOT . '/config/Test.php';

require_once(dirname(__FILE__) . '/../../../simpletest/autorun.php');